package com.restfb.etl.mundo;

import static java.lang.String.format;

import java.util.List;

import com.restfb.Facebook;
import com.restfb.etl.totto.LegacyExample;
import com.restfb.etl.totto.LegacyExample.Affiliation;

public class Usuario
{
	// By default, assumes JSON attribute name is the same as the Java field
    // name
    @Facebook
    public String name;

    // If your Java field name is different than the JSON attribute name, just
    // specify the JSON attribute name
    @Facebook("pic_big")
    public String pictureUrl;
    @Facebook("uid")
    public String uid;
    @Facebook
    public List<Affiliation> affiliations;
    @Facebook("birthday_date")
    public String birthday_date;
    @Facebook("religion")
    public String religion;
    @Facebook("political")
   public  String political;
    @Facebook("email")
    public String email;
    @Facebook("hometown_location")
   public  Locacion hometown_location;
    @Facebook("current_location")
    public Locacion current_location;
    @Facebook("sex")
    public String sex;
    @Facebook("relationship_status")
    public String relationship_status;
    
    @Facebook("music")
    public String music;
    
    @Facebook("tv")
    public String tv;
    
    @Facebook("movies")
    public String movies;

	@Facebook("username")
    public String username;
	@Facebook("books")
    public String books;
	
    public String toString() {
      return format("uid:%s\n Name: %s\nProfile Image URL: %s\nAffiliations: %s \nBirthday:%s\nReligion %s\nPolitical: %s\nEmail: %s\nHome town: %s\nCurrent location: %s \nSex: %s \nRelationship: %s\nMusic: %s\nTV: %s\nMovies: %s\nUser name: %s\nBooks: %s",uid, name, pictureUrl, affiliations, birthday_date, religion, political,email, hometown_location,current_location,sex, relationship_status, music, tv, movies,username,books);
    }
}
